#pragma once

#include "main.h"
#include "childwnd.h"


class FlowebedInterface :
	public ChildWnd
{
public:
	FlowebedInterface(HWND hParentWnd);
	~FlowebedInterface(void);

	void onPaint(Graphics* g);

	virtual void flowerbedOnPaint(Graphics* g);
	void onDeactive();

	int periodSelected;
private:
	HWND hS_plantPeriad;
	HWND hCB_plantPeriad;

	void showMyToolBox();
	void hideMyToolBox();
	void moveMyToolBox(int to);

	void initToolBox(HWND hWnd);

protected:

	void command(HANDLE hControl, WORD id, WORD msg);
	void onActive();
	void onMoveMyTools(int to);
};

